package com.coco;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.io.BufferedWriter;
import java.io.FileWriter;

@SpringBootApplication
public class MyGeneratorApplication {

    public static void main(String[] args) {
        SpringApplication.run(MyGeneratorApplication.class, args);
//        String path = "/Users/baojiahao/Downloads/ideaproject/my_websocket/data/A.java";
//        FileWriter fileWriter = new FileWriter(path);
//        BufferedWriter out = new BufferedWriter(fileWriter);
//        String packagePath = "com.coco.component";
//        out.write(String.format("package %s;\n",packagePath));
//        out.write("public class A { \n");
//        out.write("} \n");
//        out.close();
    }

}
